<%@page import="com.zhuoshi.bean.ProvinceBean"%>
<%@page import="com.zhuoshi.dao.ProvinceDao"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	request.setCharacterEncoding("UTF-8");
	response.setContentType("text/html;charset=utf-8");
	String id = request.getParameter("id");
	out.print(id);
	ProvinceDao dao = new ProvinceDao();
	List<ProvinceBean> list = dao.getListByAreaid(Integer.parseInt(id));
	String str = "";
	for(ProvinceBean bean : list){
		str = str + "<option value="+bean.getId()+">"+bean.getProvince()+"</option>";
	}
	response.getWriter().write(str);
%>
